Package com.netscape.cmstools.client
Class ClientCertShowCLI
java.lang.Object
org.dogtagpki.cli.CLI
org.dogtagpki.cli.CommandCLI
com.netscape.cmstools.client.ClientCertShowCLI
- Author:
- Endi S. Dewata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
execute
(org.apache.commons.cli.CommandLine cmd) void
exportCertificate
(String pkcs12Path, String pkcs12PasswordPath, String certPath) void
exportClientCertificateAndPrivateKey
(String pkcs12Path, String pkcs12PasswordPath, String clientCertPath) void
exportPKCS12
(String dbPath, String dbPassword, String pkcs12Path, String pkcs12PasswordPath, String nickname) void
exportPrivateKey
(String pkcs12Path, String pkcs12PasswordPath, String privateKeyPath) void
Methods inherited from class org.dogtagpki.cli.CommandCLI
execute
Methods inherited from class org.dogtagpki.cli.CLI
addModule, addModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, removeModule, runExternal, runExternal, setDescription, setName
-
Field Details
-
logger
public static org.slf4j.Logger logger -
clientCLI
-
-
Constructor Details
-
ClientCertShowCLI
-
-
Method Details
-
printHelp
public void printHelp() -
createOptions
public void createOptions()- Overrides:
createOptions
in classCommandCLI
-
execute
- Overrides:
execute
in classCommandCLI
- Throws:
Exception
-
exportPKCS12
public void exportPKCS12(String dbPath, String dbPassword, String pkcs12Path, String pkcs12PasswordPath, String nickname) throws Exception - Throws:
Exception
-
exportCertificate
public void exportCertificate(String pkcs12Path, String pkcs12PasswordPath, String certPath) throws Exception - Throws:
Exception
-
exportPrivateKey
public void exportPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String privateKeyPath) throws Exception - Throws:
Exception
-
exportClientCertificateAndPrivateKey
public void exportClientCertificateAndPrivateKey(String pkcs12Path, String pkcs12PasswordPath, String clientCertPath) throws Exception - Throws:
Exception
-